﻿using System;

namespace OpenLS.Spreadsheet
{
    internal class RangeChangeEventArgs : EventArgs
    {
        private readonly RangeChangeType _type;
        private readonly RangeAddress _address;
        private readonly CellMoveOrientationHint _hint;

        public RangeChangeEventArgs(RangeChangeType type, RangeAddress address, CellMoveOrientationHint hint)
        {
            _type = type;
            _address = address;
            _hint = hint;
        }

        public RangeChangeType Type
        {
            get { return _type; }
        }

        public RangeAddress Address
        {
            get { return _address; }
        }

        public CellMoveOrientationHint Hint
        {
            get { return _hint; }
        }
    }
}